package cn.dhnep.demo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author dhn
 * @since 2021-08-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_recharge")
@ApiModel(value="Recharge对象", description="")
public class Recharge implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "openId")
    private String openId;

    @ApiModelProperty(value = "用户名称")
    private String name;

    @ApiModelProperty(value = "用户手机号")
    private String phone;

    @ApiModelProperty(value = "充值时间")
    private Date rechargetime;

    @ApiModelProperty(value = "到账时间")
    private Date billTime;

    @ApiModelProperty(value = "充值金额")
    private Double rechargesum;

    @ApiModelProperty(value = "充值订单号")
    private String rechargenumber;

    @ApiModelProperty(value = "支付订单号")
    private String paynumber;

    @ApiModelProperty(value = "支付类型")
    private String paytype;

    @ApiModelProperty(value = "支付通道")
    private String payaisle;

    @ApiModelProperty(value = "支付状态")
    private String paystate;

    @ApiModelProperty(value = "支付说明")
    private String payexplain;

    @ApiModelProperty(value = "入账状态")
    private String billstate;

    @ApiModelProperty(value = "充值后总金额")
    private Double countnum;
}
